package com.work.flow.dao;

import com.work.flow.model.PageModel;
import com.work.flow.model.StoryBoard;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * StoryBoardDao继承基类
 */
@Repository
@Mapper
public interface StoryBoardDao extends MyBatisBaseDao<StoryBoard, String> {
    //分页查询
    List<StoryBoard> queryByPage(PageModel pageModel);

    //获取总数
    Long getCount(String key);
}
